﻿using Microsoft.AspNetCore.Mvc.Filters;

namespace 日志的使用.自定义的内容
{
    public class SelfActionFilter : IAsyncActionFilter
    {
        public async Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
        {
            //Action执行前
            ActionExecutedContext result = await next();
            //Action执行后           
        }
    }
}
